﻿using nplJobsBLL;
using nplJobsCommon.JobSeeker;
using nplJobsDAL.Insert;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nplJobsBLL.ProcessJobSeeker
{
    public class ProcessInsertJobSeekerLanguageProficiencies: IBusinessLogic
    {
        public int LastProficiencyID = 0;
        public ProcessInsertJobSeekerLanguageProficiencies(){}
        public JobSeekerLanguageProficiency JobSeekerLanguageProficiency { get; set; }
        public void invoke()
        {
            InsertJobSeekerLanguageProficiency insertJobSeekerLanguageProficiency = new InsertJobSeekerLanguageProficiency();
            insertJobSeekerLanguageProficiency.JobSeekerLanguageProficiency = this.JobSeekerLanguageProficiency;
            insertJobSeekerLanguageProficiency.Insert();
            LastProficiencyID = insertJobSeekerLanguageProficiency.lastJobSeekerLanguageProficiencyID;
        }
    }
}
